Method and apparatus for creating digital clothing

ABSTRACT

A computer simulation technology that processes 2D clothing patterns and thus creates digital clothing. 
     The purpose of the present disclosure is to easily adjust a length of another segment to be sewn the same as a length of a selected segment on a pattern when free-sewing.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application claims the benefit under 35 U.S.C. §119(a) of KoreanPatent Application No. 10-2015-0059086, filed on Apr. 27, 2015, in theKorean Intellectual Property Office, the entire disclosure of which isincorporated herein by reference for all purposes.

BACKGROUND

1. Field

The following description relates to computer simulation technology thatprocesses 2D clothing patterns and thus creates digital clothing.

2. Description of the Related Art

Current clothing simulation technology is used in various fields rangingfrom the fashion industry to games, animations, and movie visualeffects. Also, virtual clothing is a billion-dollar market. Such atechnology is to model textiles in mesh having the mass so as tosimulate movements of the textiles according to the outer movements ofthe avatar wearing the clothes, wind, lights, etc.

In a sewing simulation method to create digital clothing by usingpatterns, there are segment sewing and free sewing for a method ofsewing each of the different two patterns.

Segment sewing is sewing the two selected segments among the segmentsthat are separated by dots; and free sewing is sewing two segments withthe adjusted length that a user wants by freely adjusting each length ofthe two segments to be sewn.

More specifically, in the case of free sewing, if a user adjusts the twosegments to be the same, accuracy is required when adjusting the lengthof another segment to be the same as the length of the first selectedsegment through input device e.g., mouse.

In free sewing, even when two segments having the length being differentfrom each other are sewn together, the digital fabric, which stretcheswell, including the two segments may seem as being sewn with the samelength in the same manner as real clothing. However, in the case of thefabric not stretching well, wrinkles may be created on the digitalclothing.

Furthermore, in the case the lengths of two segments to be sewn in thefree-sewing manner are set to be different, a user is required torecognize how long or short the segment selected later is, during theprocess of adjusting the segment selected later.

Also, when the difference between each length of the two segments to besewn together is too large for the two segments to be sewn together,displaying a warning sign is required so as to enable a user torecognize it during the process of adjusting the segment selected later.

SUMMARY

The purpose of the present invention is to allow the user, during freesewing, to easily adjust the length of one digital pattern's linesegments to match that of another's.

The purpose of the present disclosure is to, during free sewing,calculate and display the difference between each length of a selectedsegment on the pattern and another segment to be sewn thereto so as toperform the accurate sewing.

Another purpose of the present disclosure is to, during free sewing,recognize a user a warning sign when the difference between each lengthof the selected segment on the pattern and another segment to be sewnthereto is too large for the two segments to be sewn together.

In one general aspect, a method of creating digital clothing includes,wherein the method is executable by a computing device including acomputing element and a storage element storing patterns and drapeddigital clothing: setting a first selected segment by inputting thefirst selected segment to be sewn on a first segment on a pattern;setting a second selected segment; and draping the digital clothing byprocessing the first and second selected segments according to sewinginstructions so as to create 3D digital clothing, wherein the setting ofthe second selected segment includes: inputting a starting point of asecond selected segment onto at least one second segment, which is to besewn to the first selected segment; inputting an ending point, which,upon starting a point-clicking process at the starting point located ona second segment, is the closest in distance to a point, where thepoint-clicking process occurs, on the second segment that includes theinput starting point; and setting, as the second selected segment, asection of the second segment between the input starting point and theinput ending point.

The first and second segments may be at least one of a straight line, acurved line, a multi-branch line, and shapes that include polygons andcircles.

The setting of the second selected segment may further include, betweenthe inputting of the starting point and the inputting of the endingpoint: detecting a current cursor position; and displaying a candidatefor the ending point by determining, as the candidate for the endingpoint of the second selected segment, a point, which is the closest indistance to the current detected cursor position and which makes thesecond selected segment a same as a length of the first selected segmentalong the second segment that includes the input starting point, whereinthe second selected segment is made by connecting the input startingpoint to such a point.

The setting of the second selected segment may further include: inresponse to a difference between the current cursor position and thedetermined candidate for the ending point being lower than a referencevalue, moving the cursor position to a position of the determinedcandidate for the ending point and displaying the cursor position.

The setting of the second selected segment may further include:calculating and displaying at least one of: the length of the firstselected segment and a length of a line, which is acquired by connectingthe starting point, input along the second segment, to a point that ison the second segment and that is the closest in distance to the currentcursor position.

The setting of the second selected segment may further include:displaying a difference value between the length of the first selectedsegment and a length of a line, which is acquired by connecting thestarting point, input along the second segment, to the point that is onthe second segment and that is the closest in distance to the currentcursor position.

The setting of the second selected segment may further include: inresponse to the difference value being greater than a reference value,displaying a warning sign.

The displaying of the warning sign may include: in response to thedifference value being greater than the reference value, displaying thewarning sign by changing colors of the calculated length and thedifference value.

Other features and aspects may be apparent from the following detaileddescription, the drawings, and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart illustrating a method of creating digital clothingaccording to an exemplary embodiment.

FIG. 2 is a detailed flowchart illustrating an operation of setting aselected segment in the second seam line according to an exemplaryembodiment.

FIG. 3 is a diagram illustrating an example of a method of setting aselected segment in the first seam line.

FIG. 4 is a diagram illustrating another example of setting a selectedsegment in the first seam line.

FIG. 5 is a diagram illustrating an example of setting a selectedsegment in the second seam line.

FIG. 6 is a diagram illustrating an example of displaying a candidatefor an ending point.

FIG. 7 is a diagram illustrating examples of moving a cursor position,displaying a length, and displaying a difference value.

FIG. 8 is a diagram illustrating an example of displaying a differencevalue and displaying a warning sign.

FIG. 9 is a diagram illustrating another example of displaying adifference value and displaying a warning sign.

FIG. 10 is a diagram illustrating 2D patterns, and 3D patterns prior tothe draping.

FIG. 11 is a diagram illustrating 2D patterns, and 3D patterns after thedraping.

FIG. 12 is a diagram illustrating various shapes of segments in thefirst and second seam lines.

FIG. 13 is a diagram illustrating an apparatus for creating digitalclothing according to an exemplary embodiment.

Throughout the drawings and the detailed description, unless otherwisedescribed, the same drawing reference numerals will be understood torefer to the same elements, features, and structures. The relative sizeand depiction of these elements may be exaggerated for clarity,illustration, and convenience.

DETAILED DESCRIPTION

The following description is provided to assist the reader in gaining acomprehensive understanding of the methods, apparatuses, and/or systemsdescribed herein. Accordingly, various changes, modifications, andequivalents of the methods, apparatuses, and/or systems described hereinwill be suggested to those of ordinary skill in the art. Also,descriptions of well-known functions and constructions may be omittedfor increased clarity and conciseness.

Descriptions incorporated herein is omitted to enhance clarity andconciseness, and similar reference numerals are used to refer to similarelements, features, and structures throughout the drawings and thedetailed description. Throughout the specification, unless explicitlydescribed to the contrary, the word “comprise” and variations such as“comprises” or “comprising” will be understood to imply the inclusion ofstated elements but not the exclusion of any other elements. Inaddition, the components, devices, and units described herein indicate“a block configured to enable the systems of hardware or software to bechanged or plugged in”, which is, in other words, one unit or block thatperforms functions in hardware or software.

The proposed method of creating digital clothing and the apparatusthereof, and storage media, on which a computer program to execute themethod thereof is stored, may be applied to the field of 3D simulationtechnology.

Digital clothing is created through a computer simulation creatingprogram, which reflects the actual process of making clothes. Forexample, a clothing manufacturer draws 2D patterns of clothes and thendrapes the 2D patterns on an avatar model that is to wear the clothes.The draping result is rendered, which is then shown, and then the 3Dvirtual clothes are output onto a screen. The avatar model and the 2Dclothes patterns may be drawn by the user through a computer program orthe user may select preloaded patterns for use. In the case the userwishes to draw the 2D patterns, the user may do so by using varioustypes of graphic software, CAD programs, or the provided tool for making2D patterns.

In a simulation method of draping digital clothing, a draping simulationmethod includes: 1) meshing patterns, 2) positioning patterns around anavatar, 3) determining whether the patterns intersect with the avatar,4) generating intersection removal force, and 5) performing the drapingsimulation. Meshing patterns may be performed by applying the DelaunayTriangulation technique, and the draping simulation process may beperformed using the method that is disclosed in [Pascal Volino, NadiaMagnenatThalmann: Resolving surface collisions through intersectioncontour minimization.ACM Trans. Graph. 25(3): 1154-1159 (2006)].

FIG. 1 is a flowchart illustrating a method of creating digital clothingaccording to an exemplary embodiment.

In one exemplary embodiment, a method of creating digital clothing mayinclude setting a selected segment in the first seam line (hereinafter,referred to as ‘first selected segment’) in 10, setting a selectedsegment in the second seam line (hereinafter, referred to as ‘secondselected segment’) in 20, and draping digital clothing in 40, whereinthe method may be performed by a computing device, which includes acomputing element and a storage element that stores patterns and thedraped digital clothing.

In one exemplary embodiment, the operation 10 includes setting a firstselected segment by inputting the first selected segment, which is to besewn on a segment in the first seam line (i.e., a segment to be sewn,which is on the first seam line; hereinafter, referred to as ‘firstsegment’) on the pattern. The operation 10 may include inputting thefirst selected segment, which is one of the two lines to be sewn. Amethod of inputting the first selected segment is directly selecting thepart to be sewn through input devices e.g., a mouse, a touch pen, akeyboard; or enabling a user to select outlines on one pattern, whichare provided through a computer program so that a user can select.

In the case in which the first selected segment to be directly sewn isselected through input devices, a starting point and an ending point ofthe first selected segment are input and selected. In the case in whicha cursor, which is output within a screen by input devices, e.g., amouse and a touch pen, does not exist on any segment of a pattern, apoint on a segment that is the closest in distance to a current cursorposition may be selected as a starting point or an ending point if thecurrent cursor position has been selected as the starting point or theending point. The operation 10 may be specifically described withreference to FIGS. 3 and 4.

A pattern may include at least one of a 2D pattern and a 3D pattern,wherein the 2D pattern is acquired after simulating, to a 2D object, aclothing sample that is cut for the design of 3D clothing in a computer,and wherein the 3D pattern is acquired after simulating the clothingsample to a 3D object. The 2D pattern is acquired after simulating, to a2D object, the clothing sample that is cut for the design of the digitalclothing in a computer. The 2D patterns are created according to the setattributes of textiles in terms of appearance and physical properties.To show the appearance of 2D patterns, the input of outline informationof the 2D patterns is required. The outlines and vertices of thepatterns may be created by using the CAD tool or various graphicprograms or selecting the patterns from a storage device that includes2D patterns according to the clothing types. The inside of the 2Dpatterns of which appearance is determined by the outlines may consistof meshes e.g., triangles or rectangles. The meshes may consist ofsprings that connect grid points to each other. The 2D patterns'material properties, wrinkling, drapability, etc., may be shown throughthe grid points and the springs.

The operation 20 of setting the second selected segment may includeinputting a starting point in 21, inputting an ending point in 30, andsetting the second selected segment in 31. The second selected segmentis sewn to the first selected segment, which will be specificallydescribed later.

In the operation 40 of draping the digital clothing, the first andsecond selected segments are sewn together in response to the sewinginstructions so that digital clothing is created. In the operation 40 ofdraping the digital clothing, 2D patterns are positioned around anavatar model and are sewn to each other along the selected segments thata user has set.

In general, a term ‘draping’ indicates a technique of creating designsas directly draping fabric onto someone's body, or completing thedesigns in three dimensions as cutting darts and seams of designateddesign. The ‘draping’ in the present disclosure indicates a process ofcreating 3D clothes from 2D patterns through computer programs. If theselected segment to be sewn is input onto the 2D patterns, the digitalclothing is created i.e., is draped onto the 3D object as the 2Dpatterns are combined. The operation 40 will be specifically describedlater with reference to FIGS. 10 and 11.

FIG. 2 is a detailed flowchart illustrating an operation of setting asecond selected segment according to an exemplary embodiment.

An operation 20 of setting the second selected segment includesinputting a starting point in 21, inputting an ending point, and settingthe second selected segment in 31.

The operation 21 includes inputting a starting point of a secondselected segment on at least one segment in the second seam line (i.e.,a segment to be sewn, which is on the second seam line; hereinafter,referred to as ‘second segment’), which is to be sewn to the firstselected segment. The starting point of the second selected segment maybe input through input devices e.g., a mouse, a touch pen, a keyboard,etc. In the case in which a cursor, which is output within a screen byinput devices, e.g., a mouse and a touch pen, does not exist on anysegment on a 2D pattern, a point on a segment that is the closest indistance to a current cursor position may be selected as a startingpoint if the current cursor position has been selected as the startingpoint. The operation 21 will be specifically described later withreference to FIG. 5.

The operation 30 includes inputting an ending point, which, uponstarting the point-clicking process at the starting point located on thesecond segment, is the closest in distance to a point, where thepoint-clicking process occurs, on the second segment that includes theinput starting point. If the current cursor position is the closest indistance to the second segment, which includes the input starting point,among a plurality of second segments, the point that is the closest tothe position, in which the point-clicking process has occurred, is inputas an ending point. In the case the point-clicking process occurs whenthe current cursor is closer to another second segment than the secondsegment that includes the input starting point, the ending point may notbe input. The ending point may be selected so that a length of thesecond selected segment is the same as that of the first selectedsegment, which exemplary embodiments are not limited thereto, and thelength of the second selected segment may be different from the lengthof the first selected segment.

The operation 31 includes setting, as the second selected segment, thesection of the second segment between the input starting point and theinput ending point. If the length of the first selected segment is thesame as the second selected segment, the digital clothing may be sewnwithout the wrinkles thereon. If the lengths of the first and secondselected segments are not the same, wrinkles are created on the selectedsegment with the longer length, thus making aesthetic effects. However,even if the lengths of the first and second selected segments are notthe same, the wrinkles may not be created according to how much thefabric stretches.

The first and second segments may be at least one of a straight line, acurved line, a multi-branch line, and shapes that include polygons andcircles. In the case of the shape of the pattern being a circle, if theentire border of the circle is sewn, the first segment or the secondsegment may a circle. If the partial border of the circle is sewn, thefirst segment or the second segment may be a curved line. Various shapesof the first and second segments will be specifically described withreference to FIG. 12.

In a method of creating digital clothing, the operation 20 may furtherinclude detecting a cursor position in 22 and displaying a candidate ofan ending point in 23 between the operation 21 and the operation 30.

The operation 22 includes detecting a current cursor position.

The operation 23 includes: determining, as the candidate for the endingpoint of the second selected segment, a point, which is the closest indistance to the current detected cursor position and which makes thesecond selected segment the same as the length of the first selectedsegment along the second segment that includes the input starting point,wherein the second selected segment is made by connecting the inputstarting point to such a point, and then displaying such a candidate. Asthe candidate is shown, the ending point on the second selected segmenton the pattern may be easily chosen to be the same as the first selectedsegment. The operation 23 may be specifically described later withreference to FIG. 6.

The operation 20 may further include moving a cursor position in 24 and25. In the operations 24 and 25, the cursor is moved to the position ofthe determined candidate for the ending point and displayed in 25 if thedifference between the current cursor position and the determinedcandidate for the ending point is lower than a reference value. Forexample, the reference value may be 15 pixels (px). The reference valuemay be set freely by a user. If a cursor is located around the candidatefor the ending point, the cursor is moved onto the candidate for theending point so that the second selected segment may be easily set to bethe same as the first selected segment. The operations 24 and 25 will bespecifically described later with reference to FIG. 7.

The operation 31 may further include displaying a length in 26. Theoperation 26 includes calculating at least one of: the length of thefirst selected segment and the length of the line, which is acquired byconnecting the starting point, input along the second segment, to thepoint that is on the second segment and that is the closest in distanceto the current cursor position, which is then displayed in number. Theline may be consistently monitored, which is acquired by connecting thestarting point, which is input along the second segment changed whilethe cursor is moved, to the point that is on the second segment and thatis the closest in distance to the current cursor position. The operation26 will be specifically described later with reference to FIG. 7.

The method of creating digital clothing may further include displayingthe difference value in 27. The operation 27 includes displaying, innumber, the difference value between the length of the first selectedsegment and the length of the line, which is acquired by connecting thestarting point, input along the second segment, to the point that is onthe second segment and that is the closest in distance to the currentcursor position. A user may check the length of the first selectedsegment and the length of the line, which is acquired by connecting thestarting point, input along the second segment, to the point that is onthe second segment and that is the closest in distance to the currentcursor position. Furthermore, in the operation 27, a user may check thedifference value therebetween. A user may check the difference so as toset the length of the first selected segment to be the same as thelength of the second selected segment. The operation 27 may bespecifically described later with reference to FIGS. 7, 8, and 9.

The operation 20 may include displaying a warning sign in 28 and 29. Inthe operations 28 and 29, a warning sign is displayed when thedifference value is greater than a reference value. In the operations 28and 29, when the difference value is greater than a reference value, thewarning sign is displayed in 29 by changing the colors of the calculatedlength and the difference value. If the second selected segment isshorter or longer than the first selected segment, wrinkles may becreated when patterns is sewn. In other words, depending on whether thewrinkles are created or not when the first and second selected segmentsare sewn together, the difference value may be displayed in differentcolor. For example, the difference value may be displayed in red. If thedifference value is greater than a reference value, the warning sign maybe displayed while the difference value is displayed in red. Whetherwrinkles are created on the 3D pattern may depend on the sewing method,the types of fabric, etc., wherein the 3D pattern is created after thefirst and second selected segments are sewn together and then throughthe draping process. For example, knit and chiffon stretching well donot create wrinkles if the difference between the first and secondselected segments is lower than one inch. Cotton and denim notstretching well may not create wrinkles if the difference between thefirst and second selected segments is lower than one centimeter.

Non-volatile media may store computer programs to which a method ofcreating digital clothing is applied. The method of creating digitalclothing may be created to be a downloadable computer program and storedin non-volatile computer-readable storage media, which, for example,includes read-only memory (ROM), random access memory (RAM), CD-ROM,magnetic tape, floppy disks, optical data storage devices, etc., andalso implemented in the form of carrier wave (e.g., transmission via theinternet).

FIG. 3 is a diagram illustrating an example of a method of setting afirst selected segment. FIG. 3 illustrates two patterns 303 and 304 tobe sewn, a starting point 302 of a first selected segment, and a cursor301. The cursor 301, which is the position that input devices e.g., amouse and a touch pen display on a screen, is positioned at one point302 on the pattern 303. If the cursor 301 selects any one point on thepattern, the selected point may be a starting point of the firstselected segment. In other words, if the cursor 301 selects any onepoint on the segment on the pattern, the selected point may be thestarting point of the first selected segment, wherein the point is inputthrough input devices. In FIG. 3, the segments to be sewn on the patternare between each of the points on the pattern. In FIG. 3, the segmentsto be sewn on the pattern are set as an outline of the pattern, whichexemplary embodiments are not limited thereto; and any segment, which isacquired after two points on the pattern are connected, may be set asthe segment to be sewn. The cursor 301 is not positioned on the segmenton any one pattern, and if a current cursor position is chosen as thestarting point, the point on the segment on the pattern that is closestin distance to the current cursor position may be selected as thestarting point.

FIG. 4 is a diagram illustrating another example of an operation ofsetting a first selected segment. FIG. 4 illustrates: two patterns 303and 304 to be sewn; a starting point 302 of the first selected segment;an ending point 305 of the first selected segment; a first selectedsegment 306; a length 308 of the first selected segment; and a cursor301. As in FIG. 3, a user may select the starting point 302 on the firstselected segment and then select, as the ending point 305, any point onthe first selected segment, which a user wants to select, so as to setthe first selected segment 306. When an ending point of the firstselected segment 306 is selected, in the case in which a cursor, whichis output within a screen by input devices, e.g., a mouse and a touchpen, does not exist on any segment of a 2D pattern, a point on a segmentthat is the closest in distance to a current cursor position may beselected as the ending point 305 if the current cursor position has beenselected as the ending point. After a user inputs the starting point onthe first segment, the length of the line may be displayed, wherein theline is acquired after the starting point is connected to the point thatis on the first segment and that is closest in distance to the currentcursor position. According to the movement of the cursor, the length ofthe line may be changed, which is acquired after the starting point isconnected to the point that is on the segment and that is the closest indistance to the cursor. Once the ending point 305 of the first selectedsegment is selected, its length 308 is set. A user may set the length308 in various units e.g., cm, mm, m, inch, etc.

FIG. 5 is a diagram illustrating an example of setting a second selectedsegment. FIG. 5 illustrates two patterns 303 and 304 to be sewn; astarting point 302 of the first selected segment; an ending point 305 ofthe first selected segment; a first selected segment 306; a length 308of the first selected segment; a starting point 309 of the secondselected segment; and a cursor 301. The cursor 301, which is theposition that input devices e.g., a mouse and a touch pen display on ascreen, is positioned at one point 309 on the pattern 304. If the cursor301 selects any one point on the pattern, the selected point may be astarting point of the second selected segment. In other words, if thecursor 301 selects any one point on the second segment on the pattern,the selected point may be the starting point of the second selectedsegment, wherein the point is input through input devices. In FIG. 5,the segments to be sewn on the pattern are between each of the points onthe pattern. In FIG. 5, the segments to be sewn on the pattern are setas an outline of the pattern, which exemplary embodiments are notlimited thereto; and any segment, which is acquired after two points onthe pattern are connected, may be set as the segment to be sewn. Thecursor 301 is not positioned on the segment on any one pattern, and if acurrent cursor position is chosen as the starting point of the secondselected segment, the point on the segment on the pattern that isclosest in distance to the current cursor position may be selected asthe starting point.

FIG. 6 is a diagram illustrating an example of displaying a candidatefor an ending point. FIG. 6 illustrates: two patterns 303 and 304 to besewn; a starting point 302 of the first selected segment; an endingpoint 305 of the first selected segment; a first selected segment 306; alength 308 of the first selected segment; a starting point 309 of thesecond selected segment; a candidate 310 for an ending point; and acursor 301. If the starting point 309 of the second selected segment isinput, a point is displayed as the candidate 310 for the ending point ofthe second selected segment, wherein the point is the closest indistance to the position of the current detected cursor 301 and makesthe second selected segment the same as the length of the first selectedsegment along the second segment that includes the input starting point309, wherein the second selected segment is made by connecting the inputstarting point 309 to such a point. Since the current detected cursor301 is closer to a second segment 312 of the second segments 311 and 312that include the starting point 309 of the second selected segment, acandidate 310 for the ending point is generated on the second segment312, wherein the second segments 311 and 312 meet together on the samepoint, which is the starting point 309. If the cursor 301 is closer tothe second segment 311, the candidate 310 may be generated on the secondsegment 311.

FIG. 7 is a diagram illustrating examples of moving a cursor position,displaying a length, and displaying a difference value. FIG. 7illustrates: two patterns 303 and 304 to be sewn; a starting point 302of a first selected segment; an ending point 305 of the first selectedsegment; the first selected segment 306; a length 308 of the firstselected segment; a starting point 309 of the second selected segment; acandidate 310 for an ending point; a length 313 of the second selectedsegment; a difference value 314; and a cursor 301. The cursor 301, whichwas positioned in the distance lower than a reference value to thecandidate 310, moves to the position of the candidate 310 and thenpositioned on the candidate 310. Since the candidate 310 is displayed,and the cursor 301 moves and is positioned to the position of thecandidate 310 under a certain condition, the second selected segment maybe easily set to be the same as the first selected segment. Once theposition of the cursor 301 is moved, the length of a segment is alsochanged accordingly, wherein such a segment is acquired by connectingthe starting point, input along the second segment, to the point that ison the second segment and that is the closest in distance to the currentcursor position. As illustrated in FIG. 7, the length of the firstselected segment is the same as the length of the second selectedsegment. That is, in FIG. 7, the difference value 314 between the lengthof the first selected segment and the length of a line is displayed 0,wherein the line is acquired by connecting the starting point, inputalong the second segment, to the point that is on the second segment andthat is the closest in distance to the current cursor position.

FIG. 8 is a diagram illustrating an example of displaying a differencevalue in 27 and displaying a warning sign in 28 and 29. FIG. 9illustrates: a cursor 301; a length 313 of a line, which is acquired byconnecting the starting point, input along a second segment, to a pointthat is on the second segment and that is the closest in distance to thecurrent cursor position; and a difference value 314 between a length ofa first selected segment and the length of a line, which is acquired byconnecting the input starting point to a point that is on the secondsegment and that is the closest in distance to the current cursorposition. The length 313 and the length 314 are changed according to themovement of the cursor 301. For example, the difference value 314illustrated in FIG. 7 is displayed in blue. On the contrary, thedifference value illustrated in FIG. 8 is, for example, displayed inred. In FIG. 8, since the second selected segment is shorter than thefirst selected segment, wrinkles on the clothes may be created when thetwo segments are sewn together. In other words, in the case the wrinklesare likely to be created when the first selected segment is sewn to thesecond selected segment, the difference value therebetween may bedisplayed in red. If the difference value is greater than a referencevalue, the difference value is displayed in red so as to show a warningsign. Whether wrinkles are created on a 3D pattern may depend on thesewing method, the types of fabric, etc., wherein the 3D pattern iscreated after the first and second selected segments are sewn togetherand then through a draping process. For example, knit and chiffonstretching well do not create wrinkles if the difference between thefirst and second selected segments is lower than one inch. Cotton anddenim not stretching well may not create wrinkles if the differencebetween the first and second selected segments is lower than onecentimeter.

FIG. 9 is a diagram illustrating another example of displaying adifference value in 27 and displaying a warning sign in 28 and 29. FIG.9 illustrates: a cursor 301; a length 313 of a line, which is acquiredby connecting the starting point, input along a second segment, to apoint that is on the second segment and that is the closest in distanceto the current cursor position; and a difference value 314 between alength of a first selected segment and the length of a line, which isacquired by connecting the input starting point to a point that is onthe second segment and that is the closest in distance to the currentcursor position. The length 313 and the length 314 are changed accordingto the movement of the cursor 301. For example, the difference value 314illustrated in FIG. 7 is displayed in blue. On the contrary, thedifference value illustrated in FIG. 9 is, for example, displayed inred. In FIG. 9, since the second selected segment is longer than thefirst selected segment, wrinkles on the clothes may be created when thetwo segments are sewn together. In other words, in the case the wrinklesare likely to be created when the first selected segment is sewn to thesecond selected segment, the difference value therebetween may bedisplayed in red. If the difference value is greater than a referencevalue, the difference value is displayed in red so as to show a warningsign. Whether wrinkles are created on a 3D pattern may depend on thesewing method, the types of fabric, etc., wherein the 3D pattern iscreated after the first and second selected segments are sewn togetherand then through a draping process. For example, knit and chiffonstretching well do not create wrinkles if the difference between thefirst and second selected segments is lower than one inch. Cotton anddenim not stretching well may not create wrinkles if the differencebetween the first and second selected segments is lower than onecentimeter.

FIG. 10 is a diagram illustrating 2D patterns, and 3D patterns prior tothe draping. When first and second selected segments on the 2D patternsin a 2D pattern screen 402 are set, the first and second selectedsegments on the 2D patterns are also set in the positions on 3D patternsin a 3D screen 401, which correspond to the positions of the 2Dpatterns.

FIG. 11 is a diagram illustrating 2D patterns, and 3D patterns after thedraping. After first and second selected segments on 2D patterns in a 2Dpattern screen 402 are set, and then sewing instructions are made, thefirst and second selected segments are sewn together in response to thesewing instructions so that 3D clothing is created. The digital clothingillustrated in the 3D screen 401 is the result acquired by sewingtogether the first and second selected segments, which have been set, onthe 2D patterns in the 2D pattern screen 402.

FIG. 12 is a diagram illustrating various shapes of first and secondsegments. FIG. 12 illustrates various shapes (a), (b), (c), and (d),each of which illustrates a pair of first and second selected segments.

(a) of FIG. 12 illustrates an example of sewing rectangular patterns,wherein each of a first selected segment 1201 and a second selectedsegment 1202 is the outline of a rectangle. In (b), a first selectedsegment 1203 is positioned on the outline of a rectangle, and a secondselected segment 1204 is positioned inside a rectangle. As describedabove, since the selected segment is acquired by connecting two pointsthat is likely to exist on the pattern, the selected segment may bepositioned inside the pattern. Second segments 1204 and 1209 are set bya user; and in FIG. 12, a user selects, as the second selected segment1204, one second segment of two second segments 1204 and 1209. In (c), afirst selected segment is positioned on the outline of a rectangle, anda second selected segment is positioned inside a circle. As illustratedin (c), the first and second selected segments may be sewn together evenif each of the first and second segments has the different shape e.g., astraight line and a curved line. In (d), a first selected segment ispositioned on the outline of a rectangle, and a second selected segmentis positioned on the outline of a figure. As described above, even iffirst and second segments are different from each other, the first andsecond selected segments may be sewn together. In addition, in the caseof (d), even if the second selected segment is positioned inside thefigure, the first and second selected segments may be sewn together.

FIG. 13 is a diagram illustrating an apparatus for creating digitalclothing according to an exemplary embodiment.

In one exemplary embodiment, an apparatus for creating digital clothingincludes a user interface 100 and a draper 200, wherein the apparatusincludes a computing element and a storage element that stores patternsand the draped digital clothing.

The interface 100 may include a first selected segment setter 110, whichsets a first selected segment, and a second selected segment setter 120,which sets a second selected segment. A user may set the first selectedsegment and the second selected segment through the interface 100. Theuser face 100 may include input devices e.g., a key board, a mouse, atouch pen, etc. The user interface 100 may be a computer program, inwhich a method of creating digital clothing is implemented in terms ofsoftware.

The first selected segment setter 110 sets the first selected segment byinputting the first selected segment, which is to be sewn on the firstsegment on the pattern. The first selected segment setter 110 may inputthe first selected segment, which is one of the two patterns to be sewn.The method of inputting the first selected segment is directly selectingthe part to be sewn through input devices, e.g., a mouse, a touch pen, akeyboard; or enabling a user to select outlines on one pattern, whichare provided through a computer program so that a user can select.

In the case in which the first selected segment to be directly sewn isselected through input devices, a starting point and an ending point ofthe first selected segment are input and selected. In the case in whicha cursor, which is output within a screen by input devices, e.g., amouse and a touch pen, does not exist on any segment of a pattern, apoint on a segment that is the closest in distance to a current cursorposition may be selected as a starting point or an ending point if thecurrent cursor position has been selected as the starting point or theending point. The first selected segment setter 110 is specificallydescribed above with reference to FIGS. 3 and 4.

The second selected segment setter 120 may include a starting pointinput 121, an ending point input 122, and a setter. The second selectedsegment is sewn to the first selected segment, which will bespecifically described later.

The draper 200 sews together the first and second selected segments inresponse to the sewing instructions so that digital clothing is created.The draper 200 positions 2D patterns around an avatar model, which arethen sewn to each other along the selected segments that a user has set.The draper 200 is specifically described above with reference to FIGS.10 and 11.

The starting point input 121 inputs a starting point of a secondselected segment on at least one second segment, which is to be sewn tothe first selected segment. The starting point of the second selectedsegment may be input through input devices e.g., a mouse, a touch pen, akeyboard, etc. In the case in which a cursor, which is output within ascreen by input devices, e.g., a mouse and a touch pen, does not existon any segment on a pattern, a point on a segment that is the closest indistance to a current cursor position may be selected as a startingpoint if the current cursor position has been selected as the startingpoint. The starting point input 121 is specifically described withreference to FIG. 5.

The ending point input 122 inputs an ending point, which, upon startingthe point-clicking process at the starting point located on the secondsegment, is the closest in distance to a point, where the point-clickingprocess occurs, on the second segment that includes the input startingpoint. If the position of the current cursor is the closest in distanceto the second segment, which includes the input starting point, among aplurality of second segments, the point that is the closest to theposition, in which the point-clicking process has occurred, is input asan ending point. In the case the point-clicking process occurs when thecurrent cursor is closer to another second segment than the secondsegment that includes the input starting point, the ending point may notbe input. The ending point may be selected so that a length of thesecond selected segment is the same as the first selected segment, whichexemplary embodiments are not limited thereto, and the length of thesecond selected segment may be different from the length of the firstselected segment.

The setter sets, as the second selected segment, the section of thesecond segment between the input starting point and the input endingpoint. If the length of the first selected segment is the same as thesecond selected segment, the digital clothing may be sewn without thewrinkles thereon. If the lengths of the first and second selectedsegments are not the same, wrinkles are created on the selected segmentwith the longer length, thus making aesthetic effects. However, even ifthe lengths of the first and second selected segments are not the same,the wrinkles may not be created according to how much the fabricstretches.

The first and second segments may be at least one of a straight line, acurved line, a multi-branch line, and shapes that include polygons andcircles. In the case of the shape of the pattern being a circle, if theentire border of the circle is sewn, the first segment or the secondsegment may a circle. If the partial border of the circle is sewn, thefirst segment or the second segment may be a curved line. Various shapesof the first and second segments are specifically described above withreference to FIG. 12.

An apparatus for creating digital clothing may further include a cursorposition detector 210 and an ending point candidate display 220.

The cursor position detector 210 detects a current cursor position.

The ending point candidate display 220 determines, as the candidate forthe ending point of the second selected segment, a point, which is theclosest in distance to the current detected cursor position and whichmakes the second selected segment the same as the length of the firstselected segment along the second segment that includes the inputstarting point, wherein the second selected segment is made byconnecting the input starting point to such a point, and then displayingsuch a candidate. As the candidate is shown, the ending point on thesecond selected segment on the pattern may be easily chosen to be thesame as the first selected segment. The ending point candidate display220 is specifically described above with reference to FIG. 6.

The apparatus for creating digital clothing may further include a cursorposition mover 231. The cursor position mover 231 moves the position ofthe cursor to the position of the determined candidate for the endingpoint and displays it the difference between the current cursor positionand the determined candidate for the ending point is lower than areference value. For example, the reference value may be 15 pixels (px).The reference value may be set freely by a user. If a cursor is locatedaround the candidate for the ending point, the cursor is moved onto thecandidate for the ending point so that the second selected segment maybe easily set to be the same as the first selected segment. The cursorposition mover 231 is specifically described above with reference toFIG. 7.

The apparatus may further include a length display 240. The lengthdisplay 240 calculates and displays in number at least one of: thelength of the first selected segment and the length of the line, whichis acquired by connecting the starting point, input along the secondsegment, to the point that is on the second segment and that is theclosest in distance to the current cursor position, which is thendisplayed in number. The line may be consistently monitored, which isacquired by connecting the starting point, which is input along thesecond segment changed while the cursor is moved, to the point that ison the second segment and that is the closest in distance to the currentcursor position. The length display 240 is specifically described abovewith reference to FIG. 7.

The apparatus may further include a difference value display 250. Thedifference value display 250 displays, in number, the difference valuebetween the length of the first selected segment and the length of theline, which is acquired by connecting the starting point, input alongthe second segment, to the point that is on the second segment and thatis the closest in distance to the current cursor position. A user maycheck the length of the first selected segment and the length of theline, which is acquired by connecting the starting point, input alongthe second segment, to the point that is on the second segment and thatis the closest in distance to the current cursor position. Furthermore,using the difference value 250, a user may check the difference valuetherebetween. A user may check the difference so as to set the length ofthe first selected segment to be the same as the length of the secondselected segment. The difference value display 250 is specificallydescribed above with reference to FIGS. 7, 8, and 9.

The apparatus may include a warning sign display 260. The warning signdisplay 260 displays a warning sign when the difference value is greaterthan a reference value. When the difference value is greater than areference value, the warning sign display 260 displays the warning signby changing the colors of the calculated length and the differencevalue. If the second selected segment is shorter or longer than thefirst selected segment, wrinkles may be created when patterns is sewn.In other words, depending on whether the wrinkles are created or notwhen the first and second selected segments are sewn together, thedifference value may be displayed in different color. For example, thedifference value may be displayed in red. If the difference value isgreater than a reference value, the warning sign may be displayed whilethe difference value is displayed in red. Whether wrinkles are createdon the 3D pattern may depend on the sewing method, the types of fabric,etc., wherein the 3D pattern is created after the first and secondselected segments are sewn together and then through the drapingprocess. For example, knit and chiffon stretching well do not createwrinkles if the difference between the first and second selectedsegments is lower than one inch. Cotton and denim not stretching wellmay not create wrinkles if the difference between the first and secondselected segments is lower than one centimeter.

According to the present disclosure, the selected segment on a patternmay be set to be the same as the length of another segment which is tobe sewn thereto.

According to the present disclosure, the difference value may be checkedwhen the selected segment on the pattern is not the same as anothersegment which is to be sewn thereto.

A number of examples have been described above. Nevertheless, it shouldbe understood that various modifications may be made. For example,suitable results may be achieved if the described techniques areperformed in a different order and/or if components in a describedsystem, architecture, device, or circuit are combined in a differentmanner and/or replaced or supplemented by other components or theirequivalents. Accordingly, other implementations are within the scope ofthe following claims.

What is claimed is:
 1. A method of creating digital clothing, whereinthe method is executable by a computing device comprising a computingelement and a storage element storing patterns and draped digitalclothing, the method comprising: setting a first selected segment byinputting the first selected segment to be sewn on a first segment on apattern; and setting a second selected segment, which comprises:inputting a starting point of a second selected segment onto at leastone second segment, which is to be sewn to the first selected segment;inputting an ending point, which, upon starting a point-clicking processat the starting point located on a second segment, is the closest indistance to a point, where the point-clicking process occurs, on thesecond segment that includes the input starting point; and setting, asthe second selected segment, a section of the second segment between theinput starting point and the input ending point.
 2. The method of claim1, wherein the first and second segments are at least one of a straightline, a curved line, a multi-branch line, and shapes that includepolygons and circles.
 3. The method of claim 1, wherein the setting ofthe second selected segment further comprises, between the inputting ofthe starting point and the inputting of the ending point: detecting acurrent cursor position; and displaying a candidate for the ending pointby determining, as the candidate for the ending point of the secondselected segment, a point, which is the closest in distance to thecurrent detected cursor position and which makes the second selectedsegment a same as a length of the first selected segment along thesecond segment that includes the input starting point, wherein thesecond selected segment is made by connecting the input starting pointto such a point.
 4. The method of claim 3, wherein the setting of thesecond selected segment further comprises: in response to a differencebetween the current cursor position and the determined candidate for theending point being lower than a reference value, moving the cursorposition to a position of the determined candidate for the ending pointand displaying the cursor position.
 5. The method of claim 3, whereinthe setting of the second selected segment further comprises:calculating and displaying at least one of: the length of the firstselected segment and a length of a line, which is acquired by connectingthe starting point, input along the second segment, to a point that ison the second segment and that is the closest in distance to the currentcursor position.
 6. The method of claim 3, wherein the setting of thesecond selected segment further comprises: displaying a difference valuebetween the length of the first selected segment and a length of a line,which is acquired by connecting the starting point, input along thesecond segment, to the point that is on the second segment and that isthe closest in distance to the current cursor position.
 7. The method ofclaim 6, wherein the setting of the second selected segment furthercomprises: in response to the difference value being greater than areference value, displaying a warning sign.
 8. The method of claim 7,wherein the displaying of the warning sign comprises: in response to thedifference value being greater than the reference value, displaying thewarning sign by changing colors of the calculated length and thedifference value.
 9. The method of claim 1, wherein the method isexecuted in non-volatile storage media storing a computer program towhich the method is applied.
 10. An apparatus for creating digitalclothing, wherein the apparatus comprises a computing element and astorage element storing patterns and draped digital clothing, theapparatus comprising: a user interface, which comprises: a firstselected segment setter configured to set a first selected segment byinputting the first selected segment to be sewn on a first segment on apattern; and a second selected segment setter, which comprises: astarting point input configured to input a starting point of a secondselected segment onto at least one second segment, which is to be sewnto the first selected segment; and an ending point input configured toinput an ending point, which, upon starting a point-clicking process atthe starting point located on a second segment, is the closest indistance to a point, where the point-clicking process occurs, on thesecond segment that includes the input starting point.
 11. The apparatusof claim 10, wherein the first and second segments are at least one of astraight line, a curved line, a multi-branch line, and shapes thatinclude polygons and circles.
 12. The apparatus of claim 10, furthercomprising: a cursor position detector configured to detect a currentcursor position; and an ending point candidate display configured todisplay a candidate for the ending point by determining, as thecandidate for the ending point of the second selected segment, a point,which is the closest in distance to the current detected cursor positionand which makes the second selected segment a same as a length of thefirst selected segment along the second segment that includes the inputstarting point, wherein the second selected segment is made byconnecting the input starting point to such a point.
 13. The apparatusof claim 12, further comprising: a cursor position mover configured to,in response to a difference between the current cursor position and thedetermined candidate for the ending point being lower than a referencevalue, move the cursor position to a position of the determinedcandidate for the ending point and display the cursor position.
 14. Theapparatus of claim 13, further comprising: a length display configuredto calculate and display at least one of: the length of the firstselected segment and a length of a line, which is acquired by connectingthe starting point, input along the second segment, to a point that ison the second segment and that is the closest in distance to the currentcursor position.
 15. The apparatus of claim 13, further comprising: adifference value display configured to display a difference valuebetween the length of the first selected segment and a length of a line,which is acquired by connecting the starting point, input along thesecond segment, to the point that is on the second segment and that isthe closest in distance to the current cursor position.
 16. Theapparatus of claim 15, further comprising: a warning sign displayconfigured to, in response to the difference value being greater than areference value, display a warning sign.
 17. The apparatus of claim 16,wherein the warning sign display is configured to, in response to thedifference value being greater than the reference value, display thewarning sign by changing colors of the calculated length and thedifference value.